using System.Collections.Generic;
using System.Text;
using System;
using NHibernate.Collection;
using NHibernate.Mapping;
using Iesi.Collections;
namespace JVLMRP 
{
    class MRPOrderTypes 
    {
        int ordertypecode;
        string ordertypename;
        ISet mrpcustomersList;
        ISet mrpmasterordersList;

        public MRPOrderTypes()
        {

        }

        public virtual int Ordertypecode
        {
            get { return ordertypecode; }
            set { ordertypecode= value; }
        }

        public virtual string Ordertypename
        {
            get { return ordertypename; }
            set { ordertypename= value; }
        }

        public virtual ISet MrpcustomersList
        {
            get { return mrpcustomersList; }
            set { mrpcustomersList= value; }
        }

        public virtual ISet MrpmasterordersList
        {
            get { return mrpmasterordersList; }
            set { mrpmasterordersList= value; }
        }

        public override string ToString()
        {
            String s = "";
            if(ordertypecode!=null)
	            s+= "ordertypecode : "+ ordertypecode.ToString()+"\n";
            else
	            s+= "ordertypecode : null\n";
            if(ordertypename!=null)
	            s+= "ordertypename : "+ ordertypename.ToString()+"\n";
            else
	            s+= "ordertypename : null\n";
            return s;
        }


    }
}
